/*
 * @Author: HeAo
 * @Date: 2021-11-25 17:26:36
 * @LastEditTime: 2021-11-25 17:29:51
 * @LastEditors: HeAo
 * @Description:
 * @FilePath: \study\day03\2-对象.js
 * 别乱动！
 */
var obj = {
  name: 'zhangsan',
  age: 12,
  gender: 'male',
  birth: '2000-01-01'
}

// for循环
for (let key in obj) {
  console.log(key);
  console.log(obj[key], '----------');

}
delete obj['birth']

console.log(obj);

